{%extends "base.html"%}
{%block body%}
<h2>Event Entries {{race.name|escape}} {{race.distance_in_miles|escape}} miles {{race.date|escape}} {{race.time|escape}} {{race.location|escape}}</h2>

<table class="sample">
	<tr>

		<th>First</th><th>Last</th><th>Age</th><th>Gender</th><th>Division</th><th>Creation</th></tr>
{%for entry in entries%}
<tr class="d1">
<td>{{entry.first|escape}}</td>
<td>{{entry.last|escape}}</td>
<td>{{entry.age|escape}}</td>
<td>{{entry.gender|escape}}</td>
<td>{{entry.division|escape}}</td>
<td>created {{entry.created|date:"Y/m/d H:i:s"}} by {{entry.racedirector}}</td>
</tr>
{%endfor%}
</table>

<!-- a href="{%url views.entry race.key.id%}">Create new entry</a -->

{%endblock%}
